<pre class="docs-method-signature"><code>rect.intersectionWithLineFromCenterToPoint(p [, angle])</code></pre>
<p>Return the point on the boundary of the rectangle that is the intersection of the rectangle with a line starting in the center of the rectangle ending in the point <code>p</code>.</p>

<p>If <code>angle</code> is specified, the intersection will take into account the rotation of the rectangle by <code>angle</code> degrees around its center.</p>
